<?php
/* 
* @Author: LDF QQ 47121862
* @Date:   2014-05-13 17:49:01
* @Last Modified by:   LDF QQ 47121862
* @Last Modified time: 2014-05-15 11:37:36
*/
Class AuthControl extends Control{
	Public function __auto(){
		
	}

	Public function success($msg = '操作成功', $url = NULL, $time = 2, $tpl = null){
		if(IS_AJAX){
			$this->ajax(array('state'=>1,'message'=>$msg));
		}else{
			parent::success($msg, $url, $time, $tpl);
		}
	}
}
